package model;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the activite database table.
 * 
 */
@Entity
public class Activite implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="activite_id")
	private int activiteId;

	@Column(name="activite_commentaires")
	private String activiteCommentaires;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="activite_datedebut")
	private Date activiteDatedebut;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="activite_datefin")
	private Date activiteDatefin;

	@Column(name="activite_etat")
	private String activiteEtat;

	@Column(name="activite_heures")
	private float activiteHeures;

	@Column(name="activite_libelle")
	private String activiteLibelle;

	@Column(name="employe_id")
	private int employeId;

	//bi-directional many-to-one association to Projet
	@ManyToOne
	@JoinColumn(name="projet_id")
	private Projet projet;

	public Activite() {
	}

	public int getActiviteId() {
		return this.activiteId;
	}

	public void setActiviteId(int activiteId) {
		this.activiteId = activiteId;
	}

	public String getActiviteCommentaires() {
		return this.activiteCommentaires;
	}

	public void setActiviteCommentaires(String activiteCommentaires) {
		this.activiteCommentaires = activiteCommentaires;
	}

	public Date getActiviteDatedebut() {
		return this.activiteDatedebut;
	}

	public void setActiviteDatedebut(Date activiteDatedebut) {
		this.activiteDatedebut = activiteDatedebut;
	}

	public Date getActiviteDatefin() {
		return this.activiteDatefin;
	}

	public void setActiviteDatefin(Date activiteDatefin) {
		this.activiteDatefin = activiteDatefin;
	}

	public String getActiviteEtat() {
		return this.activiteEtat;
	}

	public void setActiviteEtat(String activiteEtat) {
		this.activiteEtat = activiteEtat;
	}

	public float getActiviteHeures() {
		return this.activiteHeures;
	}

	public void setActiviteHeures(float activiteHeures) {
		this.activiteHeures = activiteHeures;
	}

	public String getActiviteLibelle() {
		return this.activiteLibelle;
	}

	public void setActiviteLibelle(String activiteLibelle) {
		this.activiteLibelle = activiteLibelle;
	}

	public int getEmployeId() {
		return this.employeId;
	}

	public void setEmployeId(int employeId) {
		this.employeId = employeId;
	}

	public Projet getProjet() {
		return this.projet;
	}

	public void setProjet(Projet projet) {
		this.projet = projet;
	}

}